package com.ice.work.study.design.pattern.factory.enums;

/**
 * @Description
 * @Author DELL
 * @Create 2019-11-25
 * @Since 1.0.0
 */
public enum ProductType {

    FOOD("food"),
    BEER("beer"),
    MILK("milk");
    private String name;

    ProductType(String name) {
        this.name = name;
    }

    public String value() {
        return this.name;
    }
}
